<?php
defined('IN_TS') or die('Access Denied.');
$user = $new['user']->findAll('user_info');
foreach ( $user as $v ){
	$new['user']->update('user_info',array(
		'userid'=>$v['userid'],
	),array(
		'count_duty_0'=>$v['count_duty'],
	));
}